package hasalah.demo.client.views;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RadioButton;

public class VotingActivityComposite extends Composite {

	public VotingActivityComposite() {
			
		FlexTable formTable = new FlexTable();

		initWidget(formTable);
		formTable.addStyleName("cw-FlexTable");
		formTable.setWidth("600px");
		formTable.setCellSpacing(5);
		formTable.setCellPadding(3);

		// ID
		Label	idLabel = new Label("Question", false);
		formTable.setWidget(1, 1, idLabel);
		
		// Question
		Label lblHowDoYou = new Label("How do you feel about the shooping experiance in the kingdom tower ?");
		formTable.setWidget(1, 2, lblHowDoYou);
		
		Label label = new Label("\u0645\u0627 \u0647\u0648 \u0634\u0639\u0648\u0631\u0643 \u0628\u062A\u062C\u0631\u0628\u0629 \u0627\u0644\u062A\u0633\u0648\u0642 \u0641\u064A \u0645\u0631\u0643\u0632 \u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u061F");
		formTable.setWidget(2, 2, label);
		
		// Answers
		RadioButton radioButton = new RadioButton("answer", "New radio button");
		radioButton.setHTML("Excellent   \u0645\u0645\u062A\u0627\u0632\u0629");
		formTable.setWidget(4, 2, radioButton);
		
		RadioButton radioButton_1 = new RadioButton("answer", "New radio button");
		radioButton_1.setHTML("Very good   \u062C\u064A\u062F\u0629 \u062C\u062F\u0627\u064B");
		formTable.setWidget(5, 2, radioButton_1);
		
		RadioButton radioButton_2 = new RadioButton("answer", "New radio button");
		radioButton_2.setHTML("Fair  \u0639\u0627\u062F\u0644\u0629");
		formTable.setWidget(6, 2, radioButton_2);
		
		RadioButton radioButton_3 = new RadioButton("answer", "New radio button");
		radioButton_3.setHTML("Disappointing   \u0645\u062D\u0628\u0637\u0629");
		formTable.setWidget(7, 2, radioButton_3);
		
		RadioButton radioButton_4 = new RadioButton("answer", "New radio button");
		radioButton_4.setHTML("No answer   \u0644\u0627 \u0623\u0631\u064A\u062F \u0627\u0644\u0623\u062C\u0627\u0628\u0629");
		formTable.setWidget(8, 2, radioButton_4);
	
	}

}
